//package com.onepiece.gen.frame.aop;
//
//import lombok.extern.slf4j.Slf4j;
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Around;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Pointcut;
//import org.springframework.stereotype.Component;
//
///**
// * @Author Administrator
// * Date 2022/12/2 11:17
// * Version 1.0
// * Description TODO
// **/
//@Component
//@Aspect
//@Slf4j
//public class DynamicAspect {
//
//    @Pointcut("@annotation(org.springframework.stereotype.Service) && within(com.onepiece.gen..*)")
//    public void pointCut(){}
//
//    @Around("pointCut()")
//    public Object handle(ProceedingJoinPoint proceedingJoinPoint) throws Throwable {
//        Object result = proceedingJoinPoint.proceed();
//        String business = proceedingJoinPoint.getSignature().getName();
//
//        // 获取参数
//        Object[] args = proceedingJoinPoint.getArgs();
//
//        // 业务处理逻辑 .......................
//
//        return result;
//    }
//}
